Airwallex\Services\OrderService C

Total Complexity 111
Dependencies 15
Dependents 14
Total lines 612
Lines of code 504
Logical lines of code 238
Comment lines 56
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
updateOrderDetails()
C
39 27 59
paymentCompleteByAuthorize()
A
40 10 59
setPaymentSuccess()
A
50 11 24
checkPendingTransactions()
A
47 9 34
getOrderByPaymentIntentId()
A
46 7 47
getRefundByAmountAndTime()
A
41 5 74
getRefundIdByAirwallexRefundId()
S
48 5 41
paymentCompleteByCapture()
S
48 4 34
update_consent()
S
57 5 18
getOrderByAirwallexRefundId()
S
52 4 27
getPendingPaymentOrdersIds()
S
52 3 31
getAirwallexCustomerId()
S
57 3 16
containsSubscription()
S
77 4 3
getOrderMetaTableName()
S
69 3 7
getOrderIdColumnNameFromMetaTable()
S
71 3 6
getInstance()
S
71 2 6
setTemporaryOrderStateAfterDecline()
S
71 2 6
setPendingStatus()
S
71 2 6
setAuthorizedStatus()
S
71 2 6